package com.qnbc.mystery.mapper;

import com.qnbc.mystery.pojo.domain.PmsFeightTemplate;

import java.util.List;

/**
 * 运费模版Mapper接口
 *
 * @author guzj
 * @date 2024-01-24
 */
public interface PmsFeightTemplateMapper
{
    /**
     * 查询运费模版
     *
     * @param id 运费模版主键
     * @return 运费模版
     */
    public PmsFeightTemplate selectPmsFeightTemplateById(Long id);

    /**
     * 查询运费模版列表
     *
     * @param pmsFeightTemplate 运费模版
     * @return 运费模版集合
     */
    public List<PmsFeightTemplate> selectPmsFeightTemplateList(PmsFeightTemplate pmsFeightTemplate);

    /**
     * 新增运费模版
     *
     * @param pmsFeightTemplate 运费模版
     * @return 结果
     */
    public int insertPmsFeightTemplate(PmsFeightTemplate pmsFeightTemplate);

    /**
     * 修改运费模版
     *
     * @param pmsFeightTemplate 运费模版
     * @return 结果
     */
    public int updatePmsFeightTemplate(PmsFeightTemplate pmsFeightTemplate);

    /**
     * 删除运费模版
     *
     * @param id 运费模版主键
     * @return 结果
     */
    public int deletePmsFeightTemplateById(Long id);

    /**
     * 批量删除运费模版
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deletePmsFeightTemplateByIds(Long[] ids);
}
